
/*
 * (C)opyright 2010, Alessandro Agosto. All rights reserved.
 * This file is part of the "pycoev" project.
 * To get more informations about the license read the LICENSE file.
 *
 * Loop type header file.
 */


#pragma once
#ifndef _PYC_LOOP_H
#define _PYC_LOOP_H


typedef struct {
    PyObject_HEAD
    picoev_loop *loop;     /*the real event-loop*/
    PyObject    *callback; /*the callback function*/
    PyObject    *cb_arg;   /*callback argument*/
} Loop;


extern PyTypeObject LoopType; /*pyc_loop.c*/


#endif /* _PYC_LOOP_H */
